package com.bytecodezz.app.status

import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.view.WindowManager
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivity
import com.bytecodezz.app.R
import kotlinx.android.synthetic.main.activity_full_window.*

class FullWindowActivity : AppCompatActivity() {
    @RequiresApi(Build.VERSION_CODES.P)
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
//        val lp: WindowManager.LayoutParams = this.getWindow().getAttributes()
//        lp.layoutInDisplayCutoutMode =
//            WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
//        this.getWindow().setAttributes(lp)

        setContentView(R.layout.activity_full_window)
        full_status.setOnClickListener {
            startActivity(Intent(this, StatusBarMainActivity::class.java))
        }
    }
}